﻿<div ng-controller="shopInfoController">
    <div class="wrapper border-bottom white-bg page-heading">
        <div class="col-lg-pull-12">
            <ol class="breadcrumb">
                <li><a ui-sref="app.shopinfo.list">店铺管理</a></li>
                <li class="active" ng-bind="breadcrumb"></li>
            </ol>
        </div>
    </div>
    <form name="_form" class="form-horizontal w5c-form" w5c-form-validate="model.validateOptions" role="form" novalidate>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">店铺名称</label>
            <div class="col-sm-3">
                {{model.shop_name}}
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">店铺说明</label>
            <div class="col-sm-3">
                {{model.remark}}

            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">商城logo</label>
            <div class="col-sm-3">
                <img width="50" height="50" src="{{site.img_url+model.shop_logo}}" />
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">所属账号</label>
            <div class="col-sm-3">
                {{model.merchant.mobile}}
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">联系电话</label>
            <div class="col-sm-3">
                {{model.customer_tel}}
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">联系地址</label>
            <div class="col-sm-3">
                {{model.region_name}} {{model.shop_address}}
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">创建时间</label>
            <div class="col-sm-3">
                {{model.create_time}}
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">状态</label>
            <div class="col-sm-3" style="{{model.is_disabled ? 'color:#ff0000':''}}">
                {{model.is_disabled ? '冻结中' :'正常'}}
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">红钻交易指向账户</label>
            <div class="col-sm-3">
                <input type="text" name="red_drill_receiver_mobile" class="form-control " ng-model="model.red_drill_receiver_mobile" placeholder="请输入指向账户">
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label"></label>
            <div class="col-sm-3">
                <button ng-if="isEdit == 1" type="submit" w5c-form-submit="save()" class="btn btn-primary btn-sm" btn-loading="psdisabled.save" loading-text="保存中..." ng-disabled="psdisabled.save">
                    <i class="fa fa-save"></i> 保存
                </button>
                <button ng-if="isEdit == 1" ng-click="goBack()" class="btn btn-primary btn-sm"><i class="fa fa-rotate-left"></i> 取消</button>
                <button ng-if="isEdit != 1" ng-click="goBack()" class="btn btn-primary btn-sm"><i class="fa fa-rotate-left"></i> 返回</button>
            </div>
        </div>
    </form>
</div>
